package com.hitales.ma.jvmdemo.classloader;

public class MyClassLoader extends ClassLoader {

    protected Class<?> findClass(String name) throws ClassNotFoundException {
        byte[] data = loadClassData(name);
        return defineClass(name,data,0, data.length);
    }

    private byte[] loadClassData(String className) {
        return new byte[0];
    }
}
